﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="usergroupList.ascx.cs" Inherits="uswinweb.admin.datacontrol.usergroupList" %>
<table border="0" cellpadding="0" cellspacing="0" class="edtb">
				<thead>
					<tr>
						<td >用户组</td>
                        <td >排序</td>
						<td>操  作</td>
					</tr>
				</thead>
				<tbody>
                <%foreach (System.Data.DataRow dr in usergroupTab.Rows)
                  { %>
                  <tr>
						<td><%=dr["name"] %></td>
                        <td><%=dr["sort"] %></td>
						<td>
							<a href="../admin/usergroup_list.aspx?type=1&gid=<%=dr["id"] %>" 
rel="iframe" title=" :: :: width:600,height:500" class="l_blue lightview">修改组成员</a>
							<a href="../admin/usergroup_update.aspx?gid=<%=dr["id"] %>" rel="iframe" title=" :: :: width:600,height:400" class="l_blue lightview">修改</a>
							<a title="" class="l_blue" href="#" onclick="del('<%=dr["id"] %>')">删除</a>
						</td>
					</tr>
                <%} %>
				</tbody>
			</table>
            <script>
                function del(val) {
                    if (confirm("该操作不可恢复,您确定要删除吗?")) {
                        loading();
                        AjaxHelper.Updater('usergrouplist.ascx', 'showdata', 'action=del&parms=' + val + '');
                    } else {
                    }
                }
                function minoSort(val) {
                    loading();
                    AjaxHelper.Updater('usergrouplist.ascx', 'showdata', 'action=sort&parms=' + val + '');
                }

            </script>